package my.util;

/**
 * @auther user
 * @date 2022/10/20 - 0:52
 */
public class StringUtil {
    /**
     *
     * @param str
     * @description 判断字符串是否为null或""
     * @return
     */
    public static boolean isEmpty(String str){
        return str==null || "".equals(str);
    }

    public static boolean isNotEmpty(String str) {
        return !isEmpty(str);
    }
}
